package com.example.forum.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


import javax.validation.constraints.NotBlank;

@Setter
@Getter
@ApiModel(value="注册用户对象")
public class UserModel{
    @ApiModelProperty(value="用户Id")
    private String userid ;
    @NotBlank
    @ApiModelProperty(value="用户名")
    private String username;
    @ApiModelProperty(value="用户真实姓名")
    private String realname;
    @ApiModelProperty(value="用户邮箱")
    private String email;
    @NotBlank
    @ApiModelProperty(value="用户密码")
    private String password;
    @ApiModelProperty(value="用户类型")
    private Integer  registertype;
    @ApiModelProperty(value="用户角色")
    private String[] roles;

    private String streetid;

    private String regionid;

    private String neighborhoodcommitteeid;

}
